package com.xiaolong.redis.enums;

public enum CachePoliciesEnum {

    EXPIRE(0, "cache specify expiration time"),
    NOEXPIRATION(1, "cache no expiration time");


    public int getTypeCode() {
        return typeCode;
    }

    public String getRemark() {
        return remark;
    }

    private final int typeCode;

    private final String remark;

    CachePoliciesEnum(int typeCode, String remark) {
        this.typeCode = typeCode;
        this.remark = remark;
    }
}
